<div id='midiv4'> 

<?/*

$db = DbBase::raw_connect();
$login= Session::get_data('login');
$password= Session::get_data('password');
if($Usuarios->exists("login='$login' and password='$password'"))
		{foreach($Usuarios->find("login = '$login' and password='$password' and rol='A'") as $usuario){	
			?>
			<?= stylesheet_link_tag("admin")?>

<div class='main_menu'>
Administraci&oacute;n:

<?= link_to('usuarios')?>

</div>

			<?
			
		}
			
		foreach($Usuarios->find("login = '$login' and password='$password' and (rol='C' or rol='A')") as $usuario){	
		
			
			
			
			

?><?= stylesheet_link_tag("admin")?>

			<div class='main_menu'> 

Contador:

 
<?= link_to('cuotas/arqueo', "Arqueo de Caja")?>


</div>

<?			
		}
		
	foreach($Usuarios->find("login = '$login' and password='$password' and (rol='C' or rol='A' or rol='E')") as $usuario){	
		
			
			
			
			

?><?= stylesheet_link_tag("admin")?>

			<div class='main_menu'> 

Empleado:
 
 <?=link_to('actainfraccion', "Acta de Infracci&oacute;n")?>
<?=link_to('plandepago/buscar_acta', "Buscar Acta")?>
  <?=link_to('cuotas/calcular', "Calcular Cuota")?>

<?= link_to('plandepago/crearplandepago',"Crear Plan de Pago")?>
<?= link_to('plandepago/mostrar_plan',"Mostrar Plan de Pago")?>
<?= link_to('pagoespontaneo/crearpagoespontaneo',"Generar Pago Espontaneo")?>
<?= link_to('pagoespontaneo/mostrar_plan',"Mostrar Pago Espont&aacute;neo")?>
<?= link_to('empresa')?>
<?= link_to('localidad')?>
<?= link_to('tipovehiculo', "Tipo de Veh&iacute;culo")?>
<?= link_to('plandepago/inf_acta', "Informe Actas")?>
<?= link_to('plandepago/inf_plan', "Informe Planes")?>
<?=link_to('usuarios/cambio_clave', "Cambio de Clave")?>
 <?=link_to('login/cerrar_sesion', "Cerrar Sesi&oacute;n")?>


</div>

<?			
		}
		
		
		
		
		}
	

?>




<? content() ?>
<? if($Usuarios->exists("login='$login' and password='$password'")){*/?>
<div id='midiv5'>

</div>
<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0" class="texto">
  <tr>
    <td height="30" colspan="3" background="/insumos/img/fondo1.jpg" class="texto"><div align="right"><strong>USUARIO - Cambio de Clave&nbsp;&nbsp;</strong></div></td>
  </tr>
</table>
<?php echo form_remote_tag("usuarios/cambio","update: midiv5") ?> <br>
<br>
<table width="40%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
		<td aling="right"><div align="right"><strong>Password anterior:&nbsp;</strong></div></td>
		<td><?php echo password_field_tag("anterior")?></td>
	</tr>
	<tr>
	  <td aling="right">&nbsp;</td>
	  <td>&nbsp;</td>
  </tr>
	<tr>
		<td aling="right"><div align="right"><strong>Nuevo password:&nbsp;</strong></div></td>
		<td><?php echo password_field_tag("nuevo")?></td>
	</tr>
	<tr>
	  <td aling="right">&nbsp;</td>
	  <td>&nbsp;</td>
  </tr>
	<tr>
		<td aling="right"><div align="right"><strong>Confirma password:&nbsp;</strong></div></td>
		<td><?php echo password_field_tag("confirma")?></td>
	</tr>
	<tr>
	  <td></td>
	  <td>&nbsp;</td>
  </tr>
	<tr>
		<td colspan="2" bgcolor="#006699"><div align="center"><?php echo submit_tag("Cambiar") ?></div></td>
	</tr>
		<?php echo end_form_tag() ?>
</tr>
</table>